﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<qlqa.Models.Form.OrderForm.OrderForm>" %>

<div class="table-responsive">
<table class="table table-bordered">
    <thead>
    <tr>
        <th style="width: 5px;">#</th>
        <th>Bàn</th>
        <th>Chọn</th>
    </tr>
    </thead>
    <tbody>
    <% if (Model.ListBanTrong != null)
       {
           if (Model.ListBanTrong.Any())
           {
               int stt = 1;
               foreach (var item in Model.ListBanTrong)
               {
                   %>
                   <tr>
                        <td><%= stt++ %></td>
                        <td><%= item.Ten %></td>
                        <td><input type="checkbox" class="checkbox" value="<%= item.Id %>"/></td>
                    </tr>
                   <%
                       }
           }
       } %>
    </tbody>
</table>
</div>